<template>
  <div class="search"> 
    <van-search
  v-model="value"
  show-action
  placeholder="请输入搜索关键词"
>
  <template #action>
    <div @click="onClickButton">搜索</div>
  </template>
</van-search>
  </div>
</template>

<script setup lang='ts'>
import { ref } from 'vue';
const value=ref('');
const onClickButton=()=>{

}
</script>

<style lang='less' scoped>
.search{
    width: 100%;
    
    background: #f3eeee;
    display: grid;
   


}
</style>
